package AddMoviePage;

import static org.junit.Assert.assertTrue;

import org.testng.annotations.Test;

import ru.st.selenium.model.Film;
import ru.st.selenium.pages.TestBase;



public class AddMovie extends TestBase {
	
	@Test
	public void addNewMovieOK(){
		String filmname = "film"+ System.currentTimeMillis();
		Film film = new Film()
			.setTitle(filmname)
			.setYear("1972");
		
		app.getUserHelper().loginAs(ADMIN);
		app.getFilmHelper().create(film);
		//assertTrue(app.FilmHelper().isLoggedInAs(film));
		
	}

}

